<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="BannerInfo">

    <div class="layui-card-body">

        <div class="layui-form-item">
            <label class="layui-form-label label-required-next">{:lang("账户名称")}:</label>
            <div class="layui-input-block">
                <input required name="title" value='{$vo.title|default=""}' lay-verify="required" class="layui-input " vali-name="{:lang('账户名称')}" >

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label label-required-next">{:lang("管理模块")}:</label>
            <div class="layui-input-block">

                {foreach $module_type as $key => $title}
                <input type="checkbox" name="module[]" title="{$title}" value="{$key}" lay-skin="tag" {if  in_array($key, $vo.module) } checked {/if}>
                {/foreach}

            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required-next">{:lang("权限版本")}:</label>
            <div class="layui-input-block">


                {foreach $account_type as $key => $title}
                <input type="radio" name="edition" value="{$key}" title="{$title}" {if $vo.edition == $key } checked {/if}>
                {/foreach}

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{:lang("简介")}:</label>
            <div class="layui-input-block" >
                <textarea name="content" placeholder="{:lang('请输入简介')}" lay-verify="" class="layui-textarea" >{$vo.content}</textarea>
                <p class="help-block"></p>
            </div>
        </div>
    </div>

    <div class="hr-line-dashed"></div>
    <input   name="id" value='{$vo.id}' type="hidden"  >

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>{:lang('保存数据')}</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="{:lang('确定要取消编辑吗？')}" data-close>{:lang('取消编辑')}</button>
    </div>
</form>

<script>




</script>